sunxi: Groundwork to support new dram type for A83T
authorVishnu Patekar <[email protected]>
Mon, 11 Jan 2016 17:20:58 +0000 (01:20 +0800)
committerHans de Goede <[email protected]>
Tue, 26 Jan 2016 15:20:05 +0000 (16:20 +0100)
commitf5fd8caf7f0e5e0c6c09eb620fc4f7564290f27b
treeb4560e3d9ac0d993d98950b60f2735f1df4d396f
parent627b380f62802d06a9d47ec5407ef1cf7a751275
sunxi: Groundwork to support new dram type for A83T

Different A83T boards have different DRAM types. Banapi M3 has LPDDR3,
Allwinner Homlet v1.2 has DDR3.

This adds groundwork to support for new DRAM type for A83T.

Introduce CONFIG_DRAM_TYPE, It'll be 3 for DDR3 and 7 for LPDDR3, must
be set in respective board defconfig.

Signed-off-by: Vishnu Patekar <[email protected]>
Acked-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c
arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
board/sunxi/Kconfig